#include "CTimer.h"
void CTimer::init(void) {
	_lStart = 0;
	_lStop = 0;
	time = timeGetTime();
	_lStart = time;
}

DWORD CTimer::getTime(void) {
	time = timeGetTime();
	_lStop = time - _lStart;

	return _lStop;
}


void CTimer::reset(void) {
	init();
}